import axios from '@/utils/request'

export function reqPictures (params = {}) {
  return axios({
    method: 'GET',
    url: '/mp/v1_0/user/images',
    params
  })
}
export function editPictures (id, collect) {
  return axios({
    method: 'put',
    url: `/mp/v1_0/user/images/${id}`,
    data: {
      collect
    }
  })
}

export function delPictures (id) {
  return axios.delete('/mp/v1_0/user/images/' + id)
}
